Conversion From Decimal To Hexadecimal


 
 
Concept Explanation
 

Conversion From Decimal To Hexadecimal

Converting from Decimal to Hexadecimal (Division - Remainder Technique)

The base of a hexadecimal number is 16. The following four steps are used to convert a number from decimal to hexadecimal

  • Step 1 : Divide the decimal number to be converted by 16 that is the value of the new base.
  • Step 2 : Record the remainder from Step 1 as the rightmost digit (least significant digit) of the new base number.
  • Step 3 : Divide the quotient of the previous divide by 16 that is the value of the new base.
  • Step 4 : Record the remainder from Step 3 as the next digit (to the left) of the new base number.
  • Repeat Step 3 and 4, recording remainder from right to left, unit the quotient becomes zero in Step 3. note that the last remainder thus obtained will be the most significant digit (MSD) of the new base number.

    Illustration :1

    577_1_0=?_{16}

    Solution :

    The given number is with base 10 and we are converting to base 16

  • Step 1 and 2 : 577/16 = 36 and remainder 1
  • .... (More Text Available, Login?)
     
     


    Students / Parents Reviews [10]